<!--conf
<sample>
              <product version="1.5" edition="pro"/>
                     <modifications>
                            <modified date="070101"/>
                     </modifications>
               </sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title> Multiselection</title>
</head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
<body >
	<h1>Multiselection</h1>
	<p>When the multiselection functionality is enabled you can select multiple items using Ctrl-click. <br/>
Drag and drop is also supported in the multiselection mode.<br/>
Cut and Paste functionality is available as well. Check it out!</p>
	<table>
		<tr>
			<td>
				<div id="treeboxbox_tree" style="width:250px; height:218px;background-color:#f5f5f5;border :1px solid Silver;; overflow:auto;"></div>
			</td>
			<td rowspan="2" style="padding-left:25" valign="top">
				<a href="#" onClick="tree.enableMultiselection(true);">Enable Multiselection</a><br>
				<a href="#" onClick="tree.enableMultiselection(true,true);">Enable Strict Multiselection</a><br>
				<a href="#" onClick="tree.enableMultiselection(false);">Disable Multiselection</a><br>
                <hr/>
				<a href="#" onClick="tree.doCut();">Cut</a><br>
				<a href="#" onClick="tree.doPaste(tree.getSelectedItemId());">Paste</a><br>
			</td>
		</tr>
		<tr>
			<td>
			</td>
		</tr>
	</table>


	<script>

			tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);


			tree.setSkin('dhx_skyblue');
			tree.setImagePath("../../../codebase/imgs/dhxtree_skyblue/");
			tree.enableSmartXMLParsing(true);
            tree.enableDragAndDrop(true);
			tree.loadXML("../common/tree3_14_selection_sorting_navigation.xml")
			
	</script>


</body>
</html>
